﻿var days = new Array(8);
days[1] = "الاحد";
days[2] = "الاثنين";
days[3] = "الثلاثاء";
days[4] = "الاربعاء";
days[5] = "الخميس";
days[6] = "الجمعة";
days[7] = "السبت";
var months = new Array(13);
months[1] = "يناير";
months[2] = "فبراير";
months[3] = "مارس";
months[4] = "أبريل";
months[5] = "مايو";
months[6] = "يونيو";
months[7] = "يوليو";
months[8] = "أغسطس";
months[9] = "سبتمبر";
months[10] = "أوكتوبر";
months[11] = "نوفمبر";
months[12] = "ديسمبر";
var dateObj = new Date(document.lastModified)
var wday = days[dateObj.getDay() + 1]
var lmonth = months[dateObj.getMonth() + 1]
var date = dateObj.getDate()
var fyear =+ dateObj.getYear()
document.write(wday + " " + date + " " + Lmonth + "  " + Fyear)